import Vue from 'vue'
import VueRouter from 'vue-router';
import mHome from '../components/mHome.vue'
import mNews from '../components/mHome.vue'

Vue.use(VueRouter)

const News = {
	template : '<p> New Page </p>'
}

const routes = [
	{ path: '/', component: mHome},
	{ path: '/news', component: News}
];

export const router = new VueRouter({
	routes: routes
});